package com.emip.service;

import java.util.List;

import com.emip.bean.ItemBean;
import com.emip.bean.MonitorTypeBean;

public interface ItemService {
	public List<ItemBean> getAll();
	public ItemBean getItemByID(String id);
	public ItemBean addItem(String id, MonitorTypeBean monitorType, String name,
			String abrName, String nationalName, double eMaxValue, double eMinValue,
			double overMaxValue, double overMinValue, String standUnit, int scale,
			double maxRange, double minRange);
	public ItemBean updateItem(String id, MonitorTypeBean monitorType, String name,
			String abrName, String nationalName, double eMaxValue, double eMinValue,
			double overMaxValue, double overMinValue, String standUnit, int scale,
			double maxRange, double minRange);
	public Boolean deleteItem(String id);
	
	//根据monitorTypeID取得item集合
	public List<ItemBean> getItemsByMonitorType(MonitorTypeBean mTypeBean);
	public ItemBean getItemByName(String name);
}
